<T:ViewBase x:Class="WPFExcelReport.TLRJOUR02"
                    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                    xmlns:local="clr-namespace:ReflectionStudio.Components.UserControls;assembly=ReflectionStudio.Core" 
                    xmlns:ucd="clr-namespace:ReflectionStudio.Controls;assembly=ReflectionStudio.Controls"     
                    xmlns:me="clr-namespace:WPFExcelReport" 
                    xmlns:ex="clr-namespace:WPFExcelReport.Controls;assembly=ExControls"
                    xmlns:T="clr-namespace:WPFExcelReport;assembly=IntexBL" 
                    xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"  
                    xmlns:Localization="clr-namespace:Localization;assembly=Localization"
                    Background="White"  
                    Loaded="Window_Loaded"
     >
    <T:ViewBase.Resources>
        <ucd:Divideby10  x:Key="d10"/>
        <ucd:BoolToVisibilityConverter  x:Key="bv"/>
        <ucd:Divideby100  x:Key="d100"/>
        <ucd:TIMES100  x:Key="X100"/>
        <ucd:TIMES10  x:Key="X10"/>
        <ucd:Divideby1000  x:Key="d1000"/>
        <ucd:PreisConverter  x:Key="PreisConverter"/>
        <ucd:PNumConverter  x:Key="pnum"/>
        <ucd:TextTrimmingConverter  x:Key="Trim"/>
        <ucd:GB2312Convert8859P1  x:Key="gb2312"/>  
    </T:ViewBase.Resources>
    <Grid>
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"></RowDefinition>
            <RowDefinition Height="1*"></RowDefinition>
        </Grid.RowDefinitions>
        <StackPanel Grid.Row="0">
        <WrapPanel>
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=LRJMANDANT:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwLRJOUR.LRJMANDANT}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=LRJREZART:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwLRJOUR.LRJREZART}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=LRJREZNR:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwLRJOUR.LRJREZNR}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=LRJREZST:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwLRJOUR.LRJREZST}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=LRJAENDZL:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwLRJOUR.LRJAENDZL}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=LRJPOSA:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwLRJOUR.LRJPOSA}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=LRJPOSN:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwLRJOUR.LRJPOSN}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=LRJTYPA:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwLRJOUR.LRJTYPA}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=LRJKOMPA:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwLRJOUR.LRJKOMPA}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=LRJKONZA:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwLRJOUR.LRJKONZA}" Width="Auto" />
            </Grid> 
           <Grid Margin="10,0,0,0">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                    <ColumnDefinition Width="Auto"></ColumnDefinition>
                </Grid.ColumnDefinitions>
                <TextBlock   Grid.Column="0" Text="{Binding Source={Localization:Translate Word=LRJBEZUGA:}}"></TextBlock>
                 <TextBox Grid.Column="1"  CharacterCasing="Upper"   Text="{Binding dwLRJOUR.LRJBEZUGA}" Width="Auto" />
            </Grid> 
        </WrapPanel>
        <WrapPanel Visibility="{Binding IsLRJOUR,Converter={StaticResource ResourceKey=bv}}">
                <ex:TBASE1></ex:TBASE1>
            </WrapPanel>
        </StackPanel>
        <DataGrid  Grid.Row="1"  VerticalAlignment="Top"  
                                   AutoGenerateColumns="False"
                                   EnableRowVirtualization="False"
                                   VerticalScrollBarVisibility="Auto"
                                   HorizontalScrollBarVisibility="Auto"
                                   HeadersVisibility="Column"     
                                   ItemsSource="{Binding vwLRJOUR}"  
                                    IsSynchronizedWithCurrentItem="True"
                                   SelectedItem="{Binding Path=dwLRJOUR, Mode=TwoWay}"
                                   x:Name="dlgVKP"  
                                   RowDetailsVisibilityMode="Visible" Grid.ColumnSpan="2" Margin="0,0.2,0.2,0"
                    >
            <DataGrid.Columns> 
                <DataGridTextColumn x:Name="LRJMANDANT"
                                    Binding="{Binding Path=LRJMANDANT, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=LRJMANDANT}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="LRJREZART"
                                    Binding="{Binding Path=LRJREZART, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=LRJREZART}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="LRJREZNR"
                                    Binding="{Binding Path=LRJREZNR, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=LRJREZNR}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="LRJREZST"
                                    Binding="{Binding Path=LRJREZST, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=LRJREZST}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="LRJAENDZL"
                                    Binding="{Binding Path=LRJAENDZL, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=LRJAENDZL}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="LRJPOSA"
                                    Binding="{Binding Path=LRJPOSA, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=LRJPOSA}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="LRJPOSN"
                                    Binding="{Binding Path=LRJPOSN, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=LRJPOSN}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="LRJTYPA"
                                    Binding="{Binding Path=LRJTYPA, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=LRJTYPA}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="LRJKOMPA"
                                    Binding="{Binding Path=LRJKOMPA, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=LRJKOMPA}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="LRJKONZA"
                                    Binding="{Binding Path=LRJKONZA, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=LRJKONZA}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="LRJBEZUGA"
                                    Binding="{Binding Path=LRJBEZUGA, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=LRJBEZUGA}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="LRJFLOTTEA"
                                    Binding="{Binding Path=LRJFLOTTEA, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=LRJFLOTTEA}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="LRJVISKOA"
                                    Binding="{Binding Path=LRJVISKOA, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=LRJVISKOA}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="LRJABRUFA"
                                    Binding="{Binding Path=LRJABRUFA, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=LRJABRUFA}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="LRJCOPUREA"
                                    Binding="{Binding Path=LRJCOPUREA, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=LRJCOPUREA}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="LRJZUSATZA"
                                    Binding="{Binding Path=LRJZUSATZA, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=LRJZUSATZA}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="LRJMETHODEA"
                                    Binding="{Binding Path=LRJMETHODEA, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=LRJMETHODEA}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="LRJRAKELARTA"
                                    Binding="{Binding Path=LRJRAKELARTA, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=LRJRAKELARTA}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="LRJDRUCKA"
                                    Binding="{Binding Path=LRJDRUCKA, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=LRJDRUCKA}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="LRJFUELLHOEA"
                                    Binding="{Binding Path=LRJFUELLHOEA, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=LRJFUELLHOEA}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="LRJTYPN"
                                    Binding="{Binding Path=LRJTYPN, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=LRJTYPN}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="LRJKOMPN"
                                    Binding="{Binding Path=LRJKOMPN, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=LRJKOMPN}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="LRJKONZN"
                                    Binding="{Binding Path=LRJKONZN, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=LRJKONZN}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="LRJBEZUGN"
                                    Binding="{Binding Path=LRJBEZUGN, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=LRJBEZUGN}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="LRJFLOTTEN"
                                    Binding="{Binding Path=LRJFLOTTEN, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=LRJFLOTTEN}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="LRJVISKON"
                                    Binding="{Binding Path=LRJVISKON, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=LRJVISKON}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="LRJABRUFN"
                                    Binding="{Binding Path=LRJABRUFN, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=LRJABRUFN}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="LRJCOPUREN"
                                    Binding="{Binding Path=LRJCOPUREN, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=LRJCOPUREN}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="LRJZUSATZN"
                                    Binding="{Binding Path=LRJZUSATZN, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=LRJZUSATZN}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="LRJMETHODEN"
                                    Binding="{Binding Path=LRJMETHODEN, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=LRJMETHODEN}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="LRJRAKELARTN"
                                    Binding="{Binding Path=LRJRAKELARTN, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=LRJRAKELARTN}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="LRJDRUCKN"
                                    Binding="{Binding Path=LRJDRUCKN, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=LRJDRUCKN}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="LRJFUELLHOEN"
                                    Binding="{Binding Path=LRJFUELLHOEN, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=LRJFUELLHOEN}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="LRJGRUND"
                                    Binding="{Binding Path=LRJGRUND, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=LRJGRUND}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="LRJAENDBEN"
                                    Binding="{Binding Path=LRJAENDBEN, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=LRJAENDBEN}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="LRJAENDDAT"
                                    Binding="{Binding Path=LRJAENDDAT, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=LRJAENDDAT}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="LRJAENDZEIT"
                                    Binding="{Binding Path=LRJAENDZEIT, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=LRJAENDZEIT}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="LRJLAUFKRS"
                                    Binding="{Binding Path=LRJLAUFKRS, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=LRJLAUFKRS}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="LRJLAUFLFD"
                                    Binding="{Binding Path=LRJLAUFLFD, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=LRJLAUFLFD}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="LRJLAUFPOS"
                                    Binding="{Binding Path=LRJLAUFPOS, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=LRJLAUFPOS}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="LRJSART"
                                    Binding="{Binding Path=LRJSART, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=LRJSART}}"
                                    Width="Auto" />
                <DataGridTextColumn x:Name="LRJFILLER"
                                    Binding="{Binding Path=LRJFILLER, Converter={StaticResource ResourceKey=Trim}, Mode=TwoWay}"
                                    Header="{Binding Source={Localization:Translate Word=LRJFILLER}}"
                                    Width="Auto" />
            </DataGrid.Columns>
        </DataGrid  >
    </Grid>
</T:ViewBase> 
 
